/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: DuKe TeAm
 * License Type: Purchased
 */
package orm.dao;

import org.orm.*;
import orm.*;

public interface EmpresaDAO {
	public Empresa loadEmpresaByORMID(int em_id) throws PersistentException;
	public Empresa getEmpresaByORMID(int em_id) throws PersistentException;
	public Empresa loadEmpresaByORMID(int em_id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Empresa getEmpresaByORMID(int em_id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Empresa loadEmpresaByORMID(PersistentSession session, int em_id) throws PersistentException;
	public Empresa getEmpresaByORMID(PersistentSession session, int em_id) throws PersistentException;
	public Empresa loadEmpresaByORMID(PersistentSession session, int em_id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Empresa getEmpresaByORMID(PersistentSession session, int em_id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Empresa[] listEmpresaByQuery(String condition, String orderBy) throws PersistentException;
	public Empresa[] listEmpresaByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Empresa[] listEmpresaByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Empresa[] listEmpresaByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Empresa loadEmpresaByQuery(String condition, String orderBy) throws PersistentException;
	public Empresa loadEmpresaByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Empresa loadEmpresaByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Empresa loadEmpresaByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Empresa createEmpresa();
	public boolean save(orm.Empresa empresa) throws PersistentException;
	public boolean delete(orm.Empresa empresa) throws PersistentException;
	public boolean deleteAndDissociate(orm.Empresa empresa) throws PersistentException;
	public boolean deleteAndDissociate(orm.Empresa empresa, org.orm.PersistentSession session) throws PersistentException;
	public boolean refresh(orm.Empresa empresa) throws PersistentException;
	public boolean evict(orm.Empresa empresa) throws PersistentException;
	public Empresa loadEmpresaByCriteria(EmpresaCriteria empresaCriteria);
	public Empresa[] listEmpresaByCriteria(EmpresaCriteria empresaCriteria);
}
